package com.bazaaroid.server.gae.core.dto.client;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.bazaaroid.server.gae.core.persistence.model.client.Client;

@XmlRootElement(name = "Client")
public class ClientDTO {

	private Client client = null;

	public ClientDTO(){}

	public ClientDTO(Client client) {
		this.client = client;
	}

	@XmlElement
	public String getKey() {
		return client.getKey().toString();
	}

	@XmlElement
	public String getName() {
		return client.getName();
	}

	@XmlElement
	public String getDescription() {
		return client.getDescription();
	}
	
}
